<!DOCTYPE html>
<html>
<head>
	<title>后台管理</title>
	<link rel="stylesheet" type="text/css" href="/bower_components/bootstrap/dist/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="/stylesheets/admin.css">
	<script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<script type="text/javascript" src="/bower_components/bootstrap/dist/js/bootstrap.js"></script>
	<script type="text/javascript" src="/bower_components/kindeditor/kindeditor-min.js"></script>
	<script type="text/javascript" src="/bower_components/kindeditor/lang/zh-CN.js"></script>
	<script type="text/javascript" src="/bower_components/upload-jquery/jquery.upload.js"></script>
</head>
<body>
	<div class="container">
		<h4 class="page-header"><a href="/admin">>>返回</a>&nbsp;&nbsp;&nbsp;&nbsp;修改 第<%= news.id%>条文章</h4>
		<form action="updateArticle" method="post">
			<input type="hidden" name="id" value="<%=news.id%>">
			<label>文章标题</label>
			<input type="text" name="title" class="form-control" value="<%= news.title%>">
			<label>文章内容</label>
			<textarea name="content" ><%= news.content%></textarea><br/>
			<button class="btn btn-danger btn-lg" type="submit">确定</button>
		</form>

	</div>
</body>
</html>
<script type="text/javascript">
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="content"]', {
			allowFileManager : true
		});
	});
	
</script>